---
title: 华为案例分析

case_study_styles: true
cid: caseStudies
css: /css/style_huawei.css
---

<!--
---
title: Huawei Case Study

case_study_styles: true
cid: caseStudies
css: /css/style_huawei.css
---
-->

<div class="banner1">
  <h1> 案例分析：<img src="/images/huawei_logo.png" class="header_logo"><br> <div class="subhead">以用户和供应商身份拥抱云原生</div></h1>
  <!--
  <h1> CASE STUDY:<img src="/images/huawei_logo.png" class="header_logo"><br> <div class="subhead">Embracing Cloud Native as a User – and a Vendor</div></h1>
  -->
</div>

<div class="details">
    公司 &nbsp;<b>华为</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;地点 &nbsp;<b>中国深圳</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;产业 &nbsp;<b>通信设备</b>
    <!--
    Company &nbsp;<b>Huawei</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location &nbsp;<b>Shenzhen, China</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Industry &nbsp;<b>Telecommunications Equipment</b>
    -->
</div>

<hr>

<section class="section1">

<div class="cols">
  <div class="col1">
    <h2>挑战</h2>
    <!--
    <h2>Challenge</h2>
    -->
      华为是世界上最大的电信设备制造商，拥有超过 18 万名员工。
      <!--
      A multinational company that’s the largest telecommunications equipment manufacturer in the world, 
      Huawei has more than 180,000 employees. 
      -->

      为了支持华为在全球的快速业务发展，<a href="http://www.huawei.com/">华为</a>内部 IT 部门有 8 个数据中心，
      这些数据中心在 100K+ VMs 上运行了 800 多个应用程序，服务于这 18 万用户。
      <!--
      In order to support its fast business development around the globe, 
      <a href="http://www.huawei.com/">Huawei</a> has eight data centers for its internal I.T. department,
      which have been running 800+ applications in 100K+ VMs to serve these 180,000 users. 
      -->

      随着新应用程序的快速增长，基于 VM 的应用程序的管理和部署的成本和效率都成为业务敏捷性的关键挑战。
      <!--
      With the rapid increase of new applications, the cost and efficiency of management and 
      deployment of VM-based apps all became critical challenges for business agility.
      -->

      该公司首席软件架构师、开源社区总监侯培新表示：
      “这是一个超大的分布式系统，因此我们发现，以更一致的方式管理所有任务始终是一个挑战。
      我们希望进入一种更敏捷、更得体的实践”。
      <!--
      "It’s very much a distributed system so we found that managing all of the tasks 
      in a more consistent way is always a challenge," says Peixin Hou, 
      the company’s Chief Software Architect and Community Director for Open Source. 
      "We wanted to move into a more agile and decent practice."  
      -->

  </div>

<div class="col2">
  <h2>解决方案</h2>
  <!--
  <h2>Solution</h2>
  -->
      在决定使用容器技术后，华为开始将内部 IT 部门的应用程序迁移到<a href="http://kubernetes.io/"> Kubernetes </a>上运行。
      到目前为止，大约 30% 的应用程序已经转移为云原生程序。
      <!--
      After deciding to use container technology, Huawei began moving the internal I.T. department’s applications 
      to run on <a href="http://kubernetes.io/">Kubernetes</a>.
      So far, about 30 percent of these applications have been transferred to cloud native.  
      -->
<br>
<br>
<h2>影响</h2>
<!--
<h2>Impact</h2>  
-->
      “到 2016 年底，华为的内部 IT 部门使用基于 Kubernetes 的平台即服务（PaaS）解决方案管理了 4000 多个节点和数万个容器。
      全局部署周期从一周缩短到几分钟，应用程序交付效率提高了 10 倍”。
      <!--
       "By the end of 2016, Huawei’s internal I.T. department managed more than 4,000 nodes with tens of thousands containers 
       using a Kubernetes-based Platform as a Service (PaaS) solution," says Hou.
       "The global deployment cycles decreased from a week to minutes, and the efficiency of application delivery has been improved 10 fold."
      -->

      对于底线，侯培新表示，“我们还看到运营开支大幅削减，在某些情况下可削减 20% 到 30%，我们认为这对我们的业务非常有帮助”。
      <!--
      For the bottom line, he says, "We also see significant operating expense spending cut, in some circumstances 20-30 percent, 
      which we think is very helpful for our business."
      -->
      
      这里给出一些华为内部结果资料、外部需求，也是公司的技术包装产品<a href="http://developer.huawei.com/ict/en/site-paas"> FusionStage™ </a>，
      它被作为一套 PaaS 解决方案提供给其客户。
      <!--
      Given the results Huawei has had internally – and the demand it is seeing externally – the company has also built the technologies 
      into <a href="http://developer.huawei.com/ict/en/site-paas">FusionStage™</a>, the PaaS solution it offers its customers. 
      -->
</div>

</div>

</section>

<div class="banner2">
  <div class="banner2text">
    “如果你是一个供应商，为了说服你的客户，你应该自己使用它。
    幸运的是，因为华为有很多员工，我们可以利用这种技术来展示我们所能构建的云的规模。”
    <!--
    "If you’re a vendor, in order to convince your customer, you should use it yourself. 
    Luckily because Huawei has a lot of employees, 
    we can demonstrate the scale of cloud we can build using this technology."
    -->

    <br style="height:25px">
    <span style="font-size:14px;letter-spacing:2px;text-transform:uppercase;margin-top:5% !important;">
        <br>- 侯培新，首席软件架构师、开源社区总监
        <!--
        <br>- Peixin Hou, chief software architect and community director for open source
        -->
    </span>  
  </div>
</div>

<section class="section2">

<div class="fullcol">
    华为的 Kubernetes 之旅始于一位开发者。
    <!--
    Huawei’s Kubernetes journey began with one developer. 
    -->

    两年前，这家网络和电信巨头雇佣的一名工程师对<a href="http://kubernetes.io/"> Kubernetes </a>
    这一跨主机集群的管理应用程序容器的技术产生了兴趣，并开始为其开源社区作出贡献。
    <!--
    Over two years ago, one of the engineers employed by the networking and telecommunications giant became interested 
    in <a href="http://kubernetes.io/">Kubernetes</a>, 
    the technology for managing application containers across clusters of hosts, 
    and started contributing to its open source community.
    -->

    随着技术和社区的发展，他不断地将这门技术告诉他的经理们。<br><br>
    <!--
    As the technology developed and the community grew, he kept telling his managers about it.<br><br>  
    -->

    与此同时，华为也在为其内部的企业 IT 部门寻找更好的编排系统，该系统应该支持每一个业务的流程处理。
    <!--
    And as fate would have it, at the same time, 
    Huawei was looking for a better orchestration system for its internal enterprise I.T. department, 
    which supports every business flow processing. 
    -->

    华为首席软件架构师、开源社区总监侯培新表示，
    “我们在全球拥有逾 18 万名员工，内部流程复杂，所以这个部门可能每周都需要开发一些新的应用程序。
    <!--
    "We have more than 180,000 employees worldwide, and a complicated internal procedure, 
    so probably every week this department needs to develop some new applications," says Peixin Hou, 
    Huawei’s Chief Software Architect and Community Director for Open Source. 
    -->

    我们的 IT 部门经常需要启动数万个容器，任务要跨越全球数千个节点。
    这是一个超大的分布式的系统，所以我们发现以更一致的方式管理所有的任务总是一个挑战”。<br><br>  
    <!--
    "Very often our I.T. departments need to launch tens of thousands of containers, 
    with tasks running across thousands of nodes across the world. 
    It’s very much a distributed system, so we found that managing all of the tasks 
    in a more consistent way is always a challenge."<br><br>
    -->

    过去，华为曾使用虚拟机来封装应用程序，但是，“每次我们启动虚拟机时”，侯培新说，
    “无论是因为它是一项新服务，还是因为它是一项由于节点功能异常而被关闭的服务，都需要花费大量时间”。
    <!--
    In the past, Huawei had used virtual machines to encapsulate applications, 
    but "every time when we start a VM," Hou says, 
    "whether because it’s a new service or because it was a service that was shut down 
    because of some abnormal node functioning, it takes a lot of time." 
    -->

    华为转向了容器化，所以是时候尝试 Kubernetes 了。
    采纳了这位工程师的建议花费了一年的时间，这个过程“不是一蹴而就的”，侯说，
    <!--
    Huawei turned to containerization, so the timing was right to try Kubernetes. 
    It took a year to adopt that engineer’s suggestion – the process "is not overnight," says Hou – 
    -->

    但一旦投入使用，“Kubernetes 基本上解决了我们的大部分问题。
    以前，部署时间大约需要一周，现在只需几分钟。
    <!--
    but once in use, he says, "Kubernetes basically solved most of our problems. 
    Before, the time of deployment took about a week, now it only takes minutes. 
    -->

    开发人员非常高兴。使用 Kubernetes 的那个部门也十分高兴”。<br><br>  
    <!--
    The developers are happy. That department is also quite happy."<br><br>
    -->

    侯培新看到了使用这项技术给公司带来的巨大好处，
    “Kubernetes 为基于云的应用程序带来了敏捷性、扩展能力和 DevOps 实践”，他说，
    <!--
    Hou sees great benefits to the company that come with using this technology: 
    "Kubernetes brings agility, scale-out capability, 
    and DevOps practice to the cloud-based applications," he says.
    -->
    
    “它为我们提供了自定义调度体系结构的能力，这使得容器任务之间的关联性成为可能，从而提高了效率。
    它支持多种容器格式，同时广泛支持各种容器网络解决方案和容器存储方案”。
    <!--
    "It provides us with the ability to customize the scheduling architecture, 
    which makes possible the affinity between container tasks that gives greater efficiency. 
    It supports multiple container formats. It has extensive support for various container 
    networking solutions and container storage."
    -->
</div>
</section>

<div class="banner3">
  <div class="banner3text">
    “Kubernetes 基本上解决了我们的大部分问题。
    以前，部署时间大约需要一周，现在只需几分钟。
    开发人员很高兴。使用 Kubernetes 的部门也很高兴。”
    <!--
    "Kubernetes basically solved most of our problems. 
    Before, the time of deployment took about a week, now it only takes minutes. 
    The developers are happy. That department is also quite happy."  
    -->
  </div>
</div>

<section class="section3">
<div class="fullcol">
      最重要的是，这对底线有影响。侯培新说，
      “我们还看到，在某些情况下，运营开支会大幅削减 20% 到 30%，这对我们的业务非常有帮助”。<br><br>
      <!--
      And not least of all, there’s an impact on the bottom line. 
      Says Hou: "We also see significant operating expense spending cut in some circumstances 20-30 percent, 
      which is very helpful for our business."<br><br>
      -->

    华为对这些初步结果感到满意，并看到客户对云原生技术的需求，因此加大了 Kubernetes 的投入。
    2016 年春，公司不仅成为用户，而且成为了供应商。<br><br>
    <!--
    Pleased with those initial results, and seeing a demand for cloud native technologies from its customers, 
    Huawei doubled down on Kubernetes. 
    In the spring of 2016, the company became not only a user but also a vendor.<br><br>  
    -->

    “我们构建了 Kubernetes 技术解决方案”，侯培新说，
    指的是华为的<a href="http://developer.huawei.com/ict/en/site-paas"> FusionStage™ </a> PaaS 输出。
    <!--
    "We built the Kubernetes technologies into our solutions," says Hou, referring to Huawei’s 
    <a href="http://developer.huawei.com/ict/en/site-paas">FusionStage™</a> PaaS offering. 
    -->

    “我们的客户，从非常大的电信运营商到银行，都喜欢云原生的想法。他们喜欢 Kubernetes 的技术。
    但是他们需要花费大量的时间来分解他们的应用程序，将它们转换为微服务体系结构。
    作为解决方案提供者，我们帮助他们。
    <!--
    "Our customers, from very big telecommunications operators to banks, love the idea of cloud native. 
    They like Kubernetes technology. But they need to spend a lot of time to decompose their applications 
    to turn them into microservice architecture, and as a solution provider, we help them. 
    -->

    我们已经开始与一些中国银行合作，我们看到中国移动（China Mobile）和德国电信（Deutsche Telekom）等客户对我们很感兴趣”。<br><br>
    <!--
    We’ve started to work with some Chinese banks, and we see a lot of interest from our customers 
    like <a href="http://www.chinamobileltd.com/">China Mobile</a> and 
    <a href="https://www.telekom.com/en">Deutsche Telekom</a>."<br><br>
    -->

    “如果你是一个用户，你就仅仅是个用户”，侯培新补充道，“但如果你是一个供应商，为了说服你的客户，你应该自己使用它。
    <!--
    "If you’re just a user, you’re just a user," adds Hou. 
    "But if you’re a vendor, in order to even convince your customers, you should use it yourself. 
    -->

    幸运的是，因为华为有很多员工，我们可以利用这种技术来展示我们所能构建的云的规模，向客户提供智慧服务”。
    <!--
    Luckily because Huawei has a lot of employees, we can demonstrate the scale of cloud we can build using this technology. 
    We provide customer wisdom."
    -->

    尽管华为拥有自己的私有云，但其许多客户使用华为的解决方案运行跨云应用程序。
    这是一个很大的卖点，大多数公共云提供商现在都支持 Kubernetes。
    侯培新说，“这使得跨云转换比其他解决方案更容易”。<br><br>
    <!--
    While Huawei has its own private cloud, many of its customers run cross-cloud applications using Huawei’s solutions. 
    It’s a big selling point that most of the public cloud providers now support Kubernetes. 
    "This makes the cross-cloud transition much easier than with other solutions," says Hou.<br><br>
    -->
</div>
</section>

<div class="banner4">
  <div class="banner4text">
    “我们的客户，从非常大的电信运营商到银行，都喜欢云原生的想法。他们喜欢 Kubernetes 的技术。
    但是他们需要花很多时间来分解他们的应用程序，把它们变成微服务体系结构，作为一个解决方案提供商，我们帮助他们。”
    <!--
    "Our customers, from very big telecommunications operators to banks, love the idea of cloud native. 
    They like Kubernetes technology. But they need to spend a lot of time to decompose their applications 
    to turn them into microservice architecture, and as a solution provider, we help them."
    -->
  </div>
</div>

<section class="section4">
<div class="fullcol">

    在华为内部，一旦他的团队完成内部业务流程部门向 Kubernetes 的转型，侯培新希望说服更多部门转向云原生开发和实践。
    <!--
    Within Huawei itself, once his team completes the transition of the internal business procedure department to Kubernetes, 
    Hou is looking to convince more departments to move over to the cloud native development cycle and practice. 
    -->

    “我们有很多软件开发人员，所以我们将为他们提供我们的平台作为服务解决方案，我们自己的产品”，
    他说，“我们希望在他们的迭代周期中看到显著的成本削减”。<br><br>
    <!--
    "We have a lot of software developers, 
    so we will provide them with our platform as a service solution, our own product," he says. 
    "We would like to see significant cuts in their iteration cycle."<br><br>
    -->

    在见证了华为最开始的向 Kubernetes 的转型之后，侯培新为其他考虑该技术的公司提供了建议，
    “当你开始设计应用程序的架构时，首先考虑云原生，然后再考虑微服务架构”，他说，“我想你会从中受益”。<br><br>
    <!--
    Having overseen the initial move to Kubernetes at Huawei, Hou has advice for other companies considering the technology: 
    "When you start to design the architecture of your application, think about cloud native, 
    think about microservice architecture from the beginning," he says. 
    "I think you will benefit from that."<br><br>
    -->

    但是如果您已经有了遗留应用程序，“首先从这些应用程序中一些对微服务友好的部分开始，
    这些部分相对容易分解成更简单的部分，并且相对轻量级”，侯培新说，
    <!--
    But if you already have legacy applications, "start from some microservice-friendly part of those applications first, 
    parts that are relatively easy to be decomposed into simpler pieces and are relatively lightweight," Hou says. 
    -->

    “不要从一开始就认为我想在几天内将整个架构或所有东西都迁移到微服务中。
    不要把它当作目标。你应该循序渐进地做这件事。
    我想说的是，对于遗留应用程序，并不是每个部分都适合微服务架构”。<br><br>
    <!--
    "Don’t think from day one that within how many days I want to move the whole architecture, 
    or move everything into microservices. Don’t put that as a kind of target. 
    You should do it in a gradual manner. And I would say for legacy applications, 
    not every piece would be suitable for microservice architecture. No need to force it."<br><br>  
    -->

  毕竟，尽管侯培新对华为的 Kubernetes 充满热情，但他估计，
  “未来 10 年，或许 80% 的工作负载可以分布式地在云原生环境中运行，但仍然有 20% 不是，但是没关系。
  如果我们能够让 80% 的工作负载真正是云原生的、敏捷的，那么最终会有一个更好的世界”。
  <!--
  After all, as enthusiastic as Hou is about Kubernetes at Huawei, he estimates that "in the next 10 years, 
  maybe 80 percent of the workload can be distributed, can be run on the cloud native environments. 
  There’s still 20 percent that’s not, but it’s fine. 
  If we can make 80 percent of our workload really be cloud native, to have agility, 
  it’s a much better world at the end of the day."
  -->
</div>
</section>

<div class="banner5">
  <div class="banner5text">
    “未来 10 年，可能 80% 的工作负载可以分布式地在云原生环境中运行，但仍然有 20% 不是，不过没关系。
    如果我们能够让 80% 的工作负载真正是云原生的、敏捷的，那么最终会有一个更好的世界。”
    <!--
    "In the next 10 years, maybe 80 percent of the workload can be distributed, 
    can be run on the cloud native environments. 
    There’s still 20 percent that’s not, but it’s fine. 
    If we can make 80 percent of our workload really be cloud native, to have agility, 
    it’s a much better world at the end of the day."
    -->
  </div>
</div>
<section class="section5">
<div class="fullcol">
  在不久的将来，侯培新期待着围绕着 Kubernetes 开发的新功能，尤其是华为正在开发的那些功能。
  <!--
  In the nearer future, Hou is looking forward to new features that are being developed around Kubernetes, 
  not least of all the ones that Huawei is contributing to. 
  -->

  华为的工程师已经在为联邦功能(将多个 Kubernetes 集群放在一个框架中进行无缝管理)、调度、容器网络和存储，以及刚刚发布的一项名为
  <a href="http://containerops.org/"的> Container Ops </a>的技术工作，这是一个 DevOps 管道引擎。
  <!--
  Huawei engineers have worked on the federation feature 
  (which puts multiple Kubernetes clusters in a single framework to be managed seamlessly), scheduling, 
  container networking and storage, and a just-announced technology called 
  <a href="http://containerops.org/">Container Ops</a>, which is a DevOps pipeline engine.
  -->

  “这将把每个 DevOps 作业放到一个容器中”，他解释说，“这种容器机制使用 Kubernetes 运行，也用于测试 Kubernetes。
  有了这种机制，我们可以比以前更容易地创建、共享和管理容器化 DevOps 作业”。<br><br>
  <!--
  "This will put every DevOps job into a container," he explains. 
  "And then this container mechanism is running using Kubernetes, but is also used to test Kubernetes. 
  With that mechanism, we can make the containerized DevOps jobs be created, 
  shared and managed much more easily than before."<br><br>
  -->

  尽管如此，侯培新认为这项技术只是实现其全部潜力的一半。
  首先，也是最重要的，他想要扩大它可以协调的规模，
  这对于华为这样的超大规模公司以及它的一些客户来说非常重要。<br><br>
  <!--
  Still, Hou sees this technology as only halfway to its full potential. 
  First and foremost, he’d like to expand the scale it can orchestrate, 
  which is important for supersized companies like Huawei –  as well as some of its customers.<br><br>
  -->

  侯培新自豪地指出，在华为第一位工程师成为 Kubernetes 的贡献者和传道者两年后，华为现在是这个社区的最大贡献者。
  他说，“我们发现，你对社区的贡献越大，你得到的回报也就越多”。
  <!--
  Hou proudly notes that two years after that first Huawei engineer became a contributor to and evangelist for Kubernetes, 
  Huawei is now a top contributor to the community. "We’ve learned that the more you contribute to the community," 
  he says, "the more you get back."
  -->
</div>
</section>
